-- GENERATED SPELL FOR [Mother Fang] --


function spell0_471(pUnit, Event) --@Web,n/a--
pUnit:FullCastSpellOnTarget(12023,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_471', 5319, 1)
end

function Sorts_471(pUnit, Event)
local choix_sorts_471 = math.random(0, 0)
if choix_sorts_471 == 0 then
pUnit:RegisterEvent('spell0_471', 1, 1)
end
end

function mob471_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_471', math.random(1500, 3000), 1)
end

function mob471_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob471_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob471_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(471, 1, 'mob471_Action')
RegisterUnitEvent(471, 2, 'mob471_Leave')
RegisterUnitEvent(471, 3, 'mob471_Kill')
RegisterUnitEvent(471, 4, 'mob471_Die')
